/**
 * Project Name:sc-feign
 * File Name:ComputeClientI.java
 * Package Name:com.sc.test.i
 * Date:2016��12��13������1:58:03
 * Copyright (c) 2016, ����֪ʱ��Ϣ�Ƽ����޹�˾ All Rights Reserved.
 *
*/

package com.sc.test.i;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * ClassName:ComputeClientI <br/>
 * Function: <br/>
 * Date: 2016��12��13�� ����1:58:03 <br/>
 * 
 * @author guooo
 * @version
 * @since JDK 1.6
 * @see
 */
@FeignClient(value = "compute-service",fallback = ComputeClientHystrix.class)
public interface ComputeClientI {

    @RequestMapping(method = RequestMethod.GET, value = "/add")
    Integer add(@RequestParam(value = "a") Integer a, @RequestParam(value = "b") Integer b);
    
    
}
